import "package:ct_pa_majordomo/config/theme_vars.dart";
import "package:ct_pa_majordomo/pages/widgets/menu_block.dart";
import "package:ct_pa_majordomo/router/keys.dart";
import "package:ct_pa_majordomo/utils/stacker.dart";
import "package:ct_pa_majordomo/widgets/normal_scaffold/index.dart";
import "package:flutter/material.dart";

class RoomSetting extends StatefulWidget {
  const RoomSetting({Key? key}) : super(key: key);

  @override
  State<RoomSetting> createState() => _RoomSettingState();
}

class _RoomSettingState extends State<RoomSetting> {
  @override
  Widget build(BuildContext context) {
    return NormalScaffold(
      title: "房间设置",
      child: Padding(
        padding: EdgeInsets.all(ThemeVars.paddingPage),
        child: Column(
          children: [
            MenuBlock(
              items: [
                MenuBlockItem(
                  text: "即将到期设置",
                  onTap: () {
                    Stacker.pushNamed(Keys.APARTMENT_EXPIRATION_REMINDER);
                  }
                ),
              ],
            ),
          ],
        ),
      )
    );
  }
}
